package com.czmh.etc.onlinepubsys.request.cmg;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * Copyright (C), 2017-2021
 *
 * @Author Chenzj
 * Date: 2021/3/18 13:17
 * FileName: ApiRequestBase
 * Description:
 */
@ApiModel("招商局基础对接请求对象")
@Data
public class ApiRequestBase {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "渠道")
    private String accessNo;

    @ApiModelProperty(notes = "返回数据加密串")
    private String bizContent;

    @ApiModelProperty(notes = "数据格式")
    private String format = "UTF-8";

    @ApiModelProperty(notes = "请求使用的编码格式（utf-8）")
    private String charset = "UTF-8";

    @ApiModelProperty(notes = "加密算法（AES/RSA/RSAWITHAES）")
    private String encryptType = "AES";

    @ApiModelProperty(notes = "发送请求的时间，格式yyyy-MM-dd HH:mm:ss")
    private String timestamp;

    @ApiModelProperty(notes = "版本号")
    private String version = "1000";

    @ApiModelProperty(notes = "RSA公钥加密AES秘钥")
    private String encryAesKey = "";
}
